MailPoet\Segments\SegmentSubscribersRepository S

Total Complexity 28
Dependencies 13
Dependents 9
Total lines 246
Lines of code 196
Logical lines of code 79
Comment lines 8
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
filterSubscribersInDynamicSegment()
S
54 6 22
loadSubscriberIdsInSegment()
S
54 3 21
getSubscribersStatisticsCount()
S
48 1 40
getSubscribersCountBySegmentIds()
S
55 2 21
filterSubscribersInStaticSegment()
S
57 2 17
getSubscribersCount()
S
61 2 12
getSegment()
S
68 2 7
executeQuery()
S
69 2 7
addConstraintsForSubscribersWithoutSegment()
S
61 1 12
__construct()
S
77 1 4
findSubscribersIdsInSegment()
S
79 1 3
getSubscriberIdsInSegment()
S
80 1 3
getDynamicSubscribersCount()
S
68 1 7
createCountQueryBuilder()
S
68 1 8
getSubscribersWithoutSegmentCount()
S
76 1 4
getSubscribersWithoutSegmentCountQuery()
S
68 1 8